package com.ccloud.gen;

import com.ccloud.gen.action.config.GunsGeneratorConfig;

/**
 * @Version V1.0
 * @Project bigdata-cloud
 * @Title GunsCodeGenerator
 * @Description 代码生成器, 可以生成实体, dao, service, controller, html, js
 * @Package com.ccloud.gen.action
 * @Date 2021/7/8 3:33 下午
 * @Copyright: 武汉大数据产业发展有限公司 All rights reserved.
 */
public class GunsCodeGenerator {

    public static void main(String[] args) {

        /**
         * Mybatis-Plus的代码生成器:
         *      mp的代码生成器可以生成实体,mapper,mapper对应的xml,service
         */
        GunsGeneratorConfig gunsGeneratorConfig = new GunsGeneratorConfig();
        gunsGeneratorConfig.doMpGeneration();

        /**
         * guns的生成器:
         *      guns的代码生成器可以生成controller,html页面,页面对应的js
         */
        gunsGeneratorConfig.doGunsGeneration();
    }

}